package com.asd.system.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Images {




    @TableId(type = IdType.ID_WORKER_STR) //mp自带策略，生成19位数值,字符串
    @ApiModelProperty(value = "id")
    private String id;

    //图片原名
    private String name;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date create_time;

    //主图片回显地址
    @ApiModelProperty(value = "主图片回显地址")
    private  String primaryEchoPath;

     //副图片回显地址
     @ApiModelProperty(value = "副图片回显地址")
    private  String viceEchoPath;
    
    //图标回显地址
    @ApiModelProperty(value = "图标回显地址")
    private  String iconEchoPath;


    //图片保存地址
    private String Path;

    //点位id
    private String pid;



}
